/*******************************************************************************

This code file produces Figure A27, "nUderassessment Ratio of Owner-Occupied Buildings."

*******************************************************************************/

*** Manage settings

	run "$dir/code/modules/settings.do"
	
	set more off
	clear

*** Load data
	
	use "$data/raw/assessments/underassessment.dta", clear
	
*** Make graph

	hist underassess, freq ///
		xtitle("Assessed Value as a Fraction of Estimated Market Value") ///
		ytitle("Number of Buildings") graphregion(color(white)) ///
		ylabel(,nogrid) blcolor(none) bfcolor(gs9)
		
	graph export "$figs/underassessment_hist.pdf", replace
	graph export "$figs_overleaf/underassessment_hist.pdf", replace
